﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Dashboard.Master" 
    Inherits="System.Web.Mvc.ViewPage<Owlpal.Models.Blog>" %>
<%@ Import Namespace="Owlpal.Controllers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <%using(Html.BeginForm("Add", "Blog")) { %>
      <div id="data_entry">
        <p>
            <label for="Blog.Name">Name:</label>
            <%= Html.TextBox("Blog.Name") %>
        </p>
        <p>
            <label for="Blog.Title">Title:</label>
            <%= Html.TextBox("Blog.Title") %>
        </p>
        <p>
            <label for="Blog.Name">Description:</label>
            <%= Html.TextBox("Blog.Description") %>
        </p>
        <p>
            <input type="submit" value="Save" />
        </p>
      </div>
    <%} %>
</asp:Content>
